package net.csdn.business.common.domain.vo.mirror;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @program: MirrorRepositoryVO
 * @description:
 * @author: zhangyl
 * @create: 2024-07-19 15:32
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MirrorRepositoryVO  implements Serializable {
    private long id;
    @JsonProperty("full_name")
    private String fullName;
    private String name;
    private String description;
    private String homepage;
    @JsonProperty("html_url")
    private String htmlUrl;
    private String visibility;
    @JsonProperty("default_branch")
    private String defaultBranch;
    private long size;
    @JsonProperty("private")
    @Alias("private")
    private Boolean _private;
    // 追加
    private boolean imported = false;
    //private String importedPath;
    private String importedUrl;
    private String importedId;
    private Integer importedStatus=-1;
    private String importedDesc = "未导入";
    private String targetPath;
}
